package com.ruoyi.system.domain.bo;

import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 项目业务对象 zj_sys_project
 *
 * @author zyb
 * @date 2023-12-08
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ZjSysProjectBo extends BaseEntity {

    /**
     * 主键项目ID
     */
    @NotNull(message = "主键项目ID不能为空", groups = { EditGroup.class })
    private Long projectId;

    /**
     * 所属公司ID
     */
    @NotNull(message = "所属公司ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long deptId;

    /**
     * 项目名称
     */
    @NotBlank(message = "项目名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String projectName;

    /**
     * 项目信息
     */
    @NotBlank(message = "项目信息不能为空", groups = { AddGroup.class, EditGroup.class })
    private String projectInfo;


}
